February 24th, 2021
This is an R Markdown presentation. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document.
This is the first to be shown [1, 2].
This is the second to be shown
## speed dist
## Min. : 4.0 Min. : 2.00
## 1st Qu.:12.0 1st Qu.: 26.00
## Median :15.0 Median : 36.00
## Mean :15.4 Mean : 42.98
## 3rd Qu.:19.0 3rd Qu.: 56.00
## Max. :25.0 Max. :120.00
Here the code that produces the plot is hidden
grow
shrink
fade-out
fade-up (also down, left and right!)
fade-right, up, down, left
fades in, then out when we move to the next step
again fade-in
svg.selectAll('rect')
.data(data)
.enter()
.append('rect')
.attr('width', d => d * 10)
.attr('height', '20px')
.attr('y', (d, i) => i * 22)
.attr('fill', options.color);
Some embedded CSS code
We can write fractions: \(\frac{2}{3}\). We can also handle things like estimated population growth rate, e.g., \(\hat{\lambda}=1.02\). And, \(\sqrt{4}=2\).
\[\alpha, \beta, \gamma, \Gamma\]
\[a \pm b\] \[x \ge 15\] \[a_i \ge 0~~~\forall i\]
\[A_{m,n} = \begin{pmatrix} a_{1,1} & a_{1,2} & \cdots & a_{1,n} \\ a_{2,1} & a_{2,2} & \cdots & a_{2,n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m,1} & a_{m,2} & \cdots & a_{m,n} \end{pmatrix}\]
\begin{equation}
\int_0^\infty \frac{x^3}{e^x-1}\,dx = \frac{\pi^4}{15}
\label{eq:sample}\tag{1}
\end{equation} \[\begin{equation} \int_0^\infty \frac{x^3}{e^x-1}\,dx = \frac{\pi^4}{15} \label{eq:sample}\tag{1} \end{equation}\]
Refer to it using $\eqref{eq:sample}$, e.g., see \(\eqref{eq:sample}\)